package se.lth.eit.eit060.proj2.client;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;

import se.lth.eit.eit060.proj2.server.Logger;

public class GUI extends JFrame{

	public GUI(){
		Dimension d = new Dimension(600,300);
		setSize(d);
		setPreferredSize(d);
	}
	
	public void setVisible(JPanel m){
		setContentPane(m);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		pack();
		setVisible(true);
	}
	public String getRecord(String record){
		return record;
	}
}
